package com.example.demo.entity;

import java.math.BigDecimal;

/**
 * 配件信息表
 */
public class CrParts {
    private Integer id;

    private String partsname;

    private String partsbrand;

    private String manufacturers;

    private String supplier;

    private BigDecimal originalprice;

    private BigDecimal sellprice;

    private Integer accountstate;

    private String partsunit;

    private String createtime;

    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPartsname() {
        return partsname;
    }

    public void setPartsname(String partsname) {
        this.partsname = partsname == null ? null : partsname.trim();
    }

    public String getPartsbrand() {
        return partsbrand;
    }

    public void setPartsbrand(String partsbrand) {
        this.partsbrand = partsbrand == null ? null : partsbrand.trim();
    }

    public String getManufacturers() {
        return manufacturers;
    }

    public void setManufacturers(String manufacturers) {
        this.manufacturers = manufacturers == null ? null : manufacturers.trim();
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier == null ? null : supplier.trim();
    }

    public BigDecimal getOriginalprice() {
        return originalprice;
    }

    public void setOriginalprice(BigDecimal originalprice) {
        this.originalprice = originalprice;
    }

    public BigDecimal getSellprice() {
        return sellprice;
    }

    public void setSellprice(BigDecimal sellprice) {
        this.sellprice = sellprice;
    }

    public Integer getAccountstate() {
        return accountstate;
    }

    public void setAccountstate(Integer accountstate) {
        this.accountstate = accountstate;
    }

    public String getPartsunit() {
        return partsunit;
    }

    public void setPartsunit(String partsunit) {
        this.partsunit = partsunit == null ? null : partsunit.trim();
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime == null ? null : createtime.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}